<template>
    <h1>Info-setup</h1>
    {{count}}
</template>

<script setup lang="ts">
    import {ref} from 'vue';

    const count = ref(1);

    const handle = () => {
        console.log('这是自组件的方法呦！');
    }

    defineExpose({
        count, 
        handle
    })
</script>

<style lang="scss" scoped>

</style>